package com.joysuch.wwyt.workflow.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Set;

@Data
public class WorkFlowProcessTaskQueryBean implements Serializable {

    @ApiModelProperty("业务Id")
    private List<Long> processIds;

    @ApiModelProperty("分页-当前页码")
    private int page;

    @ApiModelProperty("分页-每页大小")
    private int size;

    @ApiModelProperty("搜索条件")
    private String searchJson;

    @ApiModelProperty("过程类型 TD:待办,PC:已办,PR:我发起的,CP:已完成,ALL:全部")
    @NotEmpty(message = "过程类型不能为空")
    private String workFlowProcess;

    @ApiModelProperty("类型Id")
    private Long typeId;

    @ApiModelProperty("导出模板Id")
    private Long templateId;

    @ApiModelProperty("文件名称")
    private String fileName;

    @ApiModelProperty("业务类型名称")
    private String bizTypeName;

    @ApiModelProperty("是否已完成(0:未结束,1:已结束,2:全部)")
    private Integer finishFlag;

    /**
     * 运行机制效果详情使用
     */
    @ApiModelProperty("部门id")
    private Long departId;
    @ApiModelProperty("部门名称")
    private String departName;

    private Date startTime;
    private Date endTime;

}
